/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package kata;
import java.util.*;

/**
 *
 * @author ronricha
 */
public class Weapon
{
    int damage;
    int base;
    String name;

    public Weapon()
    {
        
    }
    
    public Weapon(int newDamage, int newBase, String newName)
    {
        this.damage = newDamage;
        this.base = newBase;
        this.name = newName;
    }
    public void createWeapon()
    {
        Scanner in = new Scanner(System.in);
        System.out.println("Name of weapon: ");
        name = in.next();
        base = (int)(Math.random() * 20) + 1;
        damage = (int)(Math.random() * 20) + 1;
    }
}
